package indi.zhifa.recipe.bailan.framework.auth.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.recipe.bailan.framework.enums.entity.annotations.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "性别",desc = "性别描述",defaultIdx = 0)
public enum Gender {
    DEFAULT(0,"保密","性别神马的都是浮云"),
    MALE(1,"男","勇敢帅气的男士"),
    FEMALE(2,"女","美丽可爱的女士");

    @EnumValue
    @Getter
    final int code;
    @Getter
    final String name;
    @Getter
    final String description;
}